<div class="page" data-ng-controller="eduOrZone">
    <div class="row">
        <div class="col-md-4">
            <section class="panel panel-default">
                <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;学历</strong></div>
                <div class="panel-body">
                    <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label data-ng-hide="isHideEdu" class="control-label">添 加 失 败</label></div>
                    <form class="form-validation" data-ng-submit="addEdu()">
                        <div class="form-group">
                            <div class="col-sm-3">
                                <label>学历</label>
                            </div>
                            <div class="col-sm-7">
                                <input  type="text"
                                        class="form-control"
                                        data-ng-model="eduForm.name"
                                        required
                                >
                            </div>
                            <button type="submit"
                                    class="btn btn-primary col-sm-2"
                                    >保存</button>
                        </div>
                    </form>
                    <br/><br/>
                    <table class="table table-bordered table-responsive table-striped">
                        <thead>
                        <tr>
                            <th style="width: 60%;">学历</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr data-ng-repeat="info in edu">
                            <td>{{info.name}}</td>
                            <td><a style="color:#ff9d33;" data-ng-click="delEdu(info.id)" href="">删除</a></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
        <div class="col-md-4">
            <section class="panel panel-default">
                <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;区域</strong></div>
                <div class="panel-body">
                    <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label data-ng-hide="isHideZone" class="control-label">添 加 失 败</label></div>
                    <form class="form-validation" data-ng-submit="addZone()">
                        <div class="form-group">
                            <div class="col-sm-3">
                                <label>区域</label>
                            </div>
                            <div class="col-sm-7">
                                <input  type="text"
                                        class="form-control"
                                        data-ng-model="zoneForm.name"
                                        required
                                >
                            </div>
                            <button type="submit"
                                    class="btn btn-success col-sm-2"
                                    >保存</button>
                        </div>
                    </form><br/><br/>
                    <table class="table table-bordered table-responsive table-striped">
                        <thead>
                        <tr>
                            <th style="width: 60%;">区域</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr data-ng-repeat="info in zone">
                            <td>{{info.name}}</td>
                            <td><a style="color:#ff9d33;" data-ng-click="delZone(info.id)" href="">删除</a></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
        <div class="col-md-4">
            <section class="panel panel-default">
                <div class="panel-heading"><strong><span class="glyphicon glyphicon-th"></span>&nbsp;&nbsp;&nbsp;&nbsp;部门</strong></div>
                <div class="panel-body">
                    <div class="form-group has-error has-feedback input-lg" style="height:30px;text-align: center;"><label data-ng-hide="isHideDept" class="control-label">添 加 失 败</label></div>
                    <form class="form-validation" data-ng-submit="addDept()">
                        <div class="form-group">
                            <div class="col-sm-3">
                                <label>部门</label>
                            </div>
                            <div class="col-sm-7">
                                <input  type="text"
                                        class="form-control"
                                        data-ng-model="deptForm.name"
                                        required
                                        >
                            </div>
                            <button type="submit"
                                    class="btn btn-info col-sm-2"
                                    >保存</button>
                        </div>
                    </form><br/><br/>
                    <table class="table table-bordered table-responsive table-striped">
                        <thead>
                        <tr>
                            <th style="width: 60%;" >部门</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr data-ng-repeat="info in dept">
                            <td>{{info.name}}</td>
                            <td><a style="color:#ff9d33;" data-ng-click="delDept(info.id)" href="">删除</a></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </section>
        </div>
    </div>
</div>